<!-- 订单设置 -->
<template>
  <div class="orderSet">
    <header class="header">
      <p class="title">首页 / 商品 / 添加商品</p>
    </header>
    <section class="orderSet_content">
      <el-form>
        <el-form-item label="秒杀订单超过：">
          <el-input />
          <span class="time">分</span>
          <span class="explain">未付款，订单自动关闭</span>
        </el-form-item>
        <el-form-item label="正常订单超过：">
          <el-input />
          <span class="time">分</span>
          <span class="explain">未付款，订单自动关闭</span>
        </el-form-item>
        <el-form-item label="发货超过：">
          <el-input />
          <span class="time">天</span>
          <span class="explain">未收货，订单自动完成</span>
        </el-form-item>
        <el-form-item label="订单完成超过：">
          <el-input />
          <span class="time">天</span>
          <span class="explain">自动结束交易，不能申请售后</span>
        </el-form-item>
        <el-form-item label="订单完成超过：">
          <el-input />
          <span class="time">天</span>
          <span class="explain">自动五星好评</span>
        </el-form-item>
      </el-form>
      <el-button type="primary">提交</el-button>
    </section>
  </div>
</template>

<script lang="ts" setup>
import { reactive, toRefs, ref } from 'vue';
</script>
<style lang="less" scoped>
.orderSet {
  .header {
    width: 100%;
    border-bottom: 1px solid #eee;
    .title {
      padding: 15px 20px;
    }
  }
  .orderSet_content {
    width: 800px;
    padding: 35px 35px 15px 35px;
    margin: 50px auto 20px;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    :deep(.el-input) {
      width: 250px;
      height: 40px;
    }
    :deep(.el-input__wrapper) {
      border-radius: 5px 0 0 5px;
    }
    .time {
      display: inline-block;
      width: 55px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      background-color: #f5f7fa;
      color: #909399;
      border: 1px solid #dcdfe6;
      border-radius: 0 5px 5px 0;
      box-sizing: border-box;
      border-left: none;
    }
    .explain {
      margin-left: 20px;
    }
    :deep(.el-form-item__label) {
      width: 150px;
    }
    :deep(.el-button) {
      margin-left: 150px;
      width: 70px;
      height: 40px;
    }
  }
}
</style>
